﻿using Xtensive.IoC;
using Xtensive.Orm;

namespace DomainBoundService.Services
{
  [Service(typeof(IMyDomainService))]
  public class MyDomainService : DomainBound, IMyDomainService
  {
    public void DoWork()
    {
      // do some work
    }

    [ServiceConstructor]
    public MyDomainService(Domain domain)
      : base(domain)
    {}
  }
}
